package com.wwmz.proxy.pattern.staticproxy;

/**
 * Created by wumz on 2020/9/21 10:00
 */
public class Zhanglaosan implements IPerson {

    private Zhangsan zhangsan;

    public Zhanglaosan(Zhangsan zhangsan) {
        this.zhangsan = zhangsan;
    }

    @Override
    public void findLove() {
        System.out.println("张老三开始物色");
        zhangsan.findLove();
        System.out.println("开始交往");
    }
}
